package com.hxzy.shop.commodity.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hxzy.shop.entity.DrugCarouselMap;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author zhy
 * @date 2021.7.12 14:39
 * @version 1.0
 */
@Mapper
public interface DrugCarouselMapMapper extends BaseMapper<DrugCarouselMap> {

    /**
     * 根据id 获得轮播图
     * @param id 获取轮播图的id
     * @return 药品轮播图集合
     */
    List<DrugCarouselMap> getCarouselMap(Long id);
}